#ifndef _BEAN_MANAGER_H
#define _BEAN_MANAGER_H
#include <vector>
#include "IPlugin.h"
class BeanManager {
public:
    static BeanManager &getInstance()
    {
        static BeanManager bm;
        return bm;
    }
    void load(const char*filename);
    void unload();
    void start();

    std::vector<IPlugin*> beans;
};

#endif //_BEAN_MANAGER_H